package com.xy.model;

import java.io.Serializable;
import java.util.Date;

public class Readers implements Serializable,User {
    private String nickName;

    private String sex;

    private Date birthday;

    private String intro;

    private String address;

    private Integer fans;

    private String mybookshelf;

    private String collectionNovels;

    private String subscribedNovels;

    private String footmark;

    private Float accountBalance;

    private Integer monthlyTickets;

    private String mycomments;

    private Integer vip;

    private String access;

    private String password;

    private String headimage;

    private String email;

    private static final long serialVersionUID = 1L;

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName == null ? null : nickName.trim();
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro == null ? null : intro.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Integer getFans() {
        return fans;
    }

    public void setFans(Integer fans) {
        this.fans = fans;
    }

    public String getMybookshelf() {
        return mybookshelf;
    }

    public void setMybookshelf(String mybookshelf) {
        this.mybookshelf = mybookshelf == null ? null : mybookshelf.trim();
    }

    public String getCollectionNovels() {
        return collectionNovels;
    }

    public void setCollectionNovels(String collectionNovels) {
        this.collectionNovels = collectionNovels == null ? null : collectionNovels.trim();
    }

    public String getSubscribedNovels() {
        return subscribedNovels;
    }

    public void setSubscribedNovels(String subscribedNovels) {
        this.subscribedNovels = subscribedNovels == null ? null : subscribedNovels.trim();
    }

    public String getFootmark() {
        return footmark;
    }

    public void setFootmark(String footmark) {
        this.footmark = footmark == null ? null : footmark.trim();
    }

    public Float getAccountBalance() {
        return accountBalance;
    }

    public void setAccountBalance(Float accountBalance) {
        this.accountBalance = accountBalance;
    }

    public Integer getMonthlyTickets() {
        return monthlyTickets;
    }

    public void setMonthlyTickets(Integer monthlyTickets) {
        this.monthlyTickets = monthlyTickets;
    }

    public String getMycomments() {
        return mycomments;
    }

    public void setMycomments(String mycomments) {
        this.mycomments = mycomments == null ? null : mycomments.trim();
    }

    public Integer getVip() {
        return vip;
    }

    public void setVip(Integer vip) {
        this.vip = vip;
    }

    public String getAccess() {
        return access;
    }

    public void setAccess(String access) {
        this.access = access == null ? null : access.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getHeadimage() {
        return headimage;
    }

    public void setHeadimage(String headimage) {
        this.headimage = headimage == null ? null : headimage.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", nickName=").append(nickName);
        sb.append(", sex=").append(sex);
        sb.append(", birthday=").append(birthday);
        sb.append(", intro=").append(intro);
        sb.append(", address=").append(address);
        sb.append(", fans=").append(fans);
        sb.append(", mybookshelf=").append(mybookshelf);
        sb.append(", collectionNovels=").append(collectionNovels);
        sb.append(", subscribedNovels=").append(subscribedNovels);
        sb.append(", footmark=").append(footmark);
        sb.append(", accountBalance=").append(accountBalance);
        sb.append(", monthlyTickets=").append(monthlyTickets);
        sb.append(", mycomments=").append(mycomments);
        sb.append(", vip=").append(vip);
        sb.append(", access=").append(access);
        sb.append(", password=").append(password);
        sb.append(", headimage=").append(headimage);
        sb.append(", email=").append(email);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}